package com.ms3ds.deviceData.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ms3ds.common.core.annotation.Excel;
import com.ms3ds.common.core.web.domain.BaseEntity;

/**
 * 矿石开采记录对象 mining_record
 * 
 * @author zlw
 * @date 2025-09-21
 */
public class MiningRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 区域id */

    private Long areaId;

    private Long mineId;

    @Excel(name = "区域名")
    private String areaName;

    private Long workerId;

    @Excel(name = "班组")
    private String workerName;

    /** 矿石种类 */

    private Long oreId;
    @Excel(name = "矿石种类")
    private String oreName;

    /** 总重量 */
    @Excel(name = "总重量")
    private Float totalWeight;

    /** 有用矿物量 */
    @Excel(name = "有用矿物量")
    private Float realQuantity;

    /** 任务开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "任务开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /** 任务结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "任务结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    public Long getWorkerId() {
        return workerId;
    }

    public void setWorkerId(Long workerId) {
        this.workerId = workerId;
    }

    public String getWorkerName() {
        return workerName;
    }

    public void setWorkerName(String workerName) {
        this.workerName = workerName;
    }

    public String getOreName() {
        return oreName;
    }

    public void setOreName(String oreName) {
        this.oreName = oreName;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setAreaId(Long areaId) 
    {
        this.areaId = areaId;
    }

    public Long getAreaId() 
    {
        return areaId;
    }

    public void setOreId(Long oreId) 
    {
        this.oreId = oreId;
    }

    public Long getOreId() 
    {
        return oreId;
    }

    public void setTotalWeight(Float totalWeight)
    {
        this.totalWeight = totalWeight;
    }

    public Float getTotalWeight()
    {
        return totalWeight;
    }

    public void setRealQuantity(Float realQuantity)
    {
        this.realQuantity = realQuantity;
    }

    public Float getRealQuantity()
    {
        return realQuantity;
    }

    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }

    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }

    public Long getMineId() {
        return mineId;
    }

    public void setMineId(Long mineId) {
        this.mineId = mineId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("areaId", getAreaId())
            .append("oreId", getOreId())
            .append("totalWeight", getTotalWeight())
            .append("realQuantity", getRealQuantity())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .toString();
    }
}
